package com.worldstear.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ExcelTarget("financeRecord")
@TableName("68_finance_record")
public class FinanceRecord implements java.io.Serializable {
    @TableId
    private Long id;
    @Excel(name = "消费名称", orderNum = "1", mergeVertical = true,needMerge=true)
    private String recordName;
    @Excel(name = "消费时间")
    private Date recordTime;
    @Excel(name = "消费金额")
    private BigDecimal recordAmount;
    @Excel(name = "消费途径")
    private String recordChannel;
    @TableField(fill = FieldFill.INSERT)
    private Date createDate;
    @TableField(fill = FieldFill.UPDATE)
    private Date updateDate;
}
